<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>Happy Person Index</title>
    <%= stylesheet_link_tag "../javascripts/ext/resources/css/ext-all.css" %>
    <%= stylesheet_link_tag "/stylesheets/blue.css" %>
    <%= stylesheet_link_tag "/stylesheets/tasks.css" %>
    <%= stylesheet_link_tag "/stylesheets/images.css" %>
    <%= stylesheet_link_tag "/stylesheets/Multiselect.css" %>
  </head>
  <body>
    <ul id="flights_mangaer">
      <li id="new-task">
        <img src="/images/system/blue_point.gif"/><a id="flight_query" href="#">航班查询</a>
      </li>
    </ul>
    <ul id="person_orders_manager" class="x-hidden">
      <li>
        <img src="/images/system/blue_point.gif"/><a id="query_person_order" href="#">我的订单</a>
      </li>
      <li>
        <img src="/images/system/blue_point.gif"/><a id="query_person_point" href="#">我的积分</a>
      </li>
    </ul>
    <ul id="my_infos" class="x-hidden">
      <li>
        <img src="/images/system/blue_point.gif"/><a id="person_base_info" href="#">基本信息</a>
      </li>
      <li>
        <img src="/images/system/blue_point.gif"/><a id="person_password_info" href="#">修改密码</a>
      </li>
      <li>
        <img src="/images/system/exit.gif"/><a id="person_logout" href="#">退出系统</a>
      </li>
    </ul>
    <script>
      var USER_NAME = "<%=session[:web_user_name]%>";
    </script>
    <%= javascript_include_tag "/javascripts/ext/adapter/prototype/prototype.js" %>
    <%= javascript_include_tag "/javascripts/ext/adapter/prototype/scriptaculous.js" %>
    <%= javascript_include_tag "/javascripts/ext/adapter/prototype/effects.js" %>
    <%= javascript_include_tag "/javascripts/ext/adapter/prototype/ext-prototype-adapter.js" %>
    <!-- LIBS --><%if session[:explorer_info]=="IE" %>
  <%= javascript_include_tag "/javascripts/ext/adapter/ext/ext-base.js" %>
<%end %>
    <!-- ENDLIBS -->

<%= javascript_include_tag "/javascripts/ext/ext-all.js" %>
<%= javascript_include_tag "/javascripts/ext/build/locale/ext-lang-zh_CN.js" %>
<%= javascript_include_tag "/javascripts/happy/tasks_person.js" %>
<%= javascript_include_tag "/javascripts/Multiselect.js" %>
<%= javascript_include_tag "/javascripts/DDView.js" %>
<%= javascript_include_tag "/javascripts/application.js" %>
    <script>
        //Javascript 常量
        var PAY_TYPE_XJ = "<%=Constants::PAY_TYPE_XJ%>";
        var PAY_TYPE_SK = "<%=Constants::PAY_TYPE_SK%>";
        var PAY_TYPE_QT = "<%=Constants::PAY_TYPE_QT%>";
        var PAY_TYPE_ZP = "<%=Constants::PAY_TYPE_ZP%>";
        var PAY_TYPE_ZZ = "<%=Constants::PAY_TYPE_ZZ%>";
        var PAY_TYPE_JF = "<%=Constants::PAY_TYPE_JF%>";

        var ACTIVITY_TYPE_FHY = "<%=Constants::ACTIVITY_TYPE_FHY%>";
        var ACTIVITY_TYPE_SQTJP = "<%=Constants::ACTIVITY_TYPE_SQTJP%>";
        var ACTIVITY_TYPE_SBX = "<%=Constants::ACTIVITY_TYPE_SBX%>";
        var ACTIVITY_TYPE_SJC = "<%=Constants::ACTIVITY_TYPE_SJC%>";
        var ACTIVITY_TYPE_TJP = "<%=Constants::ACTIVITY_TYPE_TJP%>";

        var ORDER_STATUS_YDD = "<%=Constants::ORDER_STATUS_YDD%>";
        var ORDER_STATUS_SQD = "<%=Constants::ORDER_STATUS_SQD%>";
        var ORDER_STATUS_YCP = "<%=Constants::ORDER_STATUS_YCP%>";
        var ORDER_STATUS_YQX = "<%=Constants::ORDER_STATUS_YQX%>";
        var ORDER_STATUS_YFK = "<%=Constants::ORDER_STATUS_YFK%>";
        var ORDER_STATUS_YZF = "<%=Constants::ORDER_STATUS_YZF%>";
        var ORDER_STATUS_GQD = "<%=Constants::ORDER_STATUS_GQD%>";
        var ORDER_STATUS_YTD = "<%=Constants::ORDER_STATUS_YTD%>";
        var ORDER_STATUS_WQR = "<%=Constants::ORDER_STATUS_WQR%>";

        var TICKET_STATUS_WQR = "<%=Constants::TICKET_STATUS_WQR%>";
        var TICKET_STATUS_QRCP = "<%=Constants::TICKET_STATUS_QRCP%>";
        var TICKET_STATUS_LJCP = "<%=Constants::TICKET_STATUS_LJCP%>";
        var TICKET_STATUS_YQX = "<%=Constants::TICKET_STATUS_LJCP%>";
        var TICKET_STATUS_GQD = "<%=Constants::TICKET_STATUS_GQD%>";
        var TICKET_STATUS_YZF = "<%=Constants::TICKET_STATUS_YZF%>";
        var TICKET_STATUS_YTP = "<%=Constants::TICKET_STATUS_YTP%>";
        var TICKET_STATUS_YCP = "<%=Constants::TICKET_STATUS_YCP%>";
        var DEFAULT_JJ_ADDRESS = "<%=Constants::DEFAULT_JJ_ADDRESS%>";
        var today = new Date().format('Y-m-d');
    </script>
  </body>
</html>
